package com.planet.common.autoconfigure.email;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Description: TODO 星球邮件配置属性
 * @Author: mis_wu
 * @Date: 2023/8/25
 * @Company SMS
 **/
@ConfigurationProperties(prefix = PlanetEmailProperties.PLANET_EMAIL_PREFIX)
@Data
public class PlanetEmailProperties {

    public static final String PLANET_EMAIL_PREFIX = "spring.planet.email";

    /**
     * 开启邮件服务
     */
    private Boolean enable;

    /**
     * 发件人
     */
    private String sender;

    /**
     * 收件人
     */
    private String recipient;

}
